<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ page import="com.geepi.dao.Email" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>

<div align="center">
	<%
		String mailAdd = request.getParameter("mailAdd");
	    Email email = new Email(mailAdd);
	    if(email.isEmail()) {
	    	out.print(mailAdd + "<br>是一个标准的邮箱地址！<br>");
	    } else {
	    	out.print(mailAdd + "<br>不是一个标准的邮箱地址！<br>");
	    }
	%>
</div>

<form action="email.jsp" method = "post" >
<input type = "submit" value = "返回" /> 
</form>
</body>
</html>